sv_node: sv_node.o sv_node_functions.o RdWr_thread.o my570list.o 
	g++ -o sv_node -g sv_node.o sv_node_functions.o RdWr_thread.o my570list.o -lnsl -lsocket -L/home/scf-22/csci551b/openssl/lib -lcrypto

sv_node.o: sv_node.cpp sv_node.hpp
	g++ -g -c -I/home/scf-22/csci551b/openssl/include -Wall sv_node.cpp

sv_node_functions.o: sv_node_functions.cpp sv_node.hpp
	g++ -g -c -I/home/scf-22/csci551b/openssl/include -Wall sv_node_functions.cpp

RdWr_thread.o: RdWr_thread.cpp sv_node.hpp
	g++ -g -c -I/home/scf-22/csci551b/openssl/include -Wall RdWr_thread.cpp

my570list.o: my570list.cpp my570list.hpp cs570.h
	g++ -g -c -I/home/scf-22/csci551b/openssl/include -Wall my570list.cpp

clean:
	rm -f *.o sv_node
